package com.etl.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonIgnore;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * Description: 业务系统数据库信息
 *
 * @author fengxiaoyang
 * @date 2021年12月4日 下午4:41:05
 */
@Data
@Accessors(chain = true)
@ApiModel("业务系统数据库信息")
@TableName("etl_business_db_info")
public class EtlBusinessDbInfo implements Serializable {

  	@ApiModelProperty(value = "主键" )
    @TableId(type = IdType.AUTO)
	private Integer dbId;

  	@ApiModelProperty(value = "系统名称" )
	private String dbSysname;

  	@ApiModelProperty(value = "数据库地址" )
	private String dbIp;

  	@ApiModelProperty(value = "数据库端口" )
	private String dbPort;

  	@ApiModelProperty(value = "数据库名" )
	private String dbName;

  	@ApiModelProperty(value = "数据库类型" )
	private String dbType;

  	@ApiModelProperty(value = "数据库模式" )
	private String dbSchema;

  	@ApiModelProperty(value = "用户名" )
	private String username;

  	@ApiModelProperty(value = "密码" )
	@JsonIgnore
	private String password;

	@ApiModelProperty(value = "状态:0禁用，1有效" )
	private Integer status;

  	@ApiModelProperty(value = "创建账户" )
	private String createAccount;

  	@ApiModelProperty(value = "创建日期时间" )
	private Date createTime;

  	@ApiModelProperty(value = "修改时间" )
	private Date updateTime;


}
